package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.entity.SysDept;

/**
 * @author Hanjiafeng
 */
public class WbDept extends SysDept {
    private int level;

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setDept(SysDept sysDept) {
        setDeptId(sysDept.getDeptId());
        setParentId(sysDept.getParentId());
        setAncestors(sysDept.getAncestors());
        setDeptName(sysDept.getDeptName());
        setOrderNum(sysDept.getOrderNum());
        setLeader(sysDept.getLeader());
        setPhone(sysDept.getPhone());
        setEmail(sysDept.getEmail());
        setStatus(sysDept.getStatus());
        setDelFlag(sysDept.getDelFlag());
        setParentName(sysDept.getParentName());
        setSearchValue(sysDept.getSearchValue());
        setCreateBy(sysDept.getCreateBy());
        setCreateTime(sysDept.getCreateTime());
        setUpdateBy(sysDept.getUpdateBy());
        setUpdateTime(sysDept.getUpdateTime());
        setRemark(sysDept.getRemark());
        setParams(sysDept.getParams());

    }
}
